﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MyCommunity.Models;

namespace MyCommunity.BusinessLogic
{
    public interface IUserService
    {
        User GetUser(int userId);
        User getUser(String mail, String password);
        User getUser(String mail);
        List<User> GetAllUsers();
        List<User> FindUsers(String searchString);
        User CreateUser(UserRegisterModel userRegisterModel);
        void SaveChanges();
    }
}
